// 统一管理接口的地方
import http from './request';
export function getBanner() {
  return http({
    url: '/public/v1/home/swiperdata',
  });
}
//请求轮播图

export function getCate() {
  return http({
    url: '/public/v1/categories',
  });
}
//获取分类数据

export function getList(params) {
  return http({
    url: '/public/v1/goods/search',
    data: params,
  });
}
